/*
** 给api接口注入$axios
**
*/

import createApi from '@/api'

export default ( {$axios}, inject ) => {
  const api = createApi($axios);
  inject('api', api())
}
